import request from '@/utils/request'

export function constructionPlanList(data) { //施工计划管理-列表
  return request({
    url: '/hose-management/api/hoseConstruction/page',
    method: 'post',
    data
  })
}


export function constructionPlanAdd(data) { //施工计划管理-新增
  return request({
    url: '/hose-management/api/hoseConstruction/add',
    method: 'post',
    data
  })
}

export function constructionPlanEdit(data) { //施工计划管理-编辑
  return request({
    url: '/hose-management/api/hoseConstruction/edit',
    method: 'post',
    data
  })
}

export function constructionPlanDelete(data) { //施工计划管理-删除
  return request({
    url: '/hose-management/api/hoseConstruction/del',
    method: 'post',
    data
  })
}


export function constructionPlanDetail(data) { //施工计划管理-详情
  return request({
    url: '/hose-management/api/hoseConstruction/queryOne',
    method: 'post',
    data
  })
}



export function constructionPlanGong(data) { //查询全部供应商名称
  return request({
    url: '/hose-management/api/supplier/all',
    method: 'post',
    data
  })
}
export function constructionPlanDui(data) { //查询全部施工队伍
  return request({
    url: '/hose-management/api/supplier/group/all',
    method: 'post',
    data
  })
}

export function constructionPlanExoprt(data) { //导出
  return request({
    url: '/hose-management/api/hoseConstruction/export',
    method: 'post',
    responseType: 'arraybuffer',
    data
  })
}

